<!doctype html>
<html lang="en" xmlns:v-bind="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>
<body>
<div id="app">
    <div>相加：{{number+1}}</div>
    <div>三元运算：{{ok?'Yes':'No'}}</div>
    <div>数组方法：{{msg.split('').reverse().join('')}}</div>
    <div v-bind:title="'list-'+id">{{id}}</div>
</div>
</body>
<script src="../../vender/vue@2.4.2.js"></script>
<script>

    var vm=new Vue({
        el:'#app',
        data:{
            number:100,
            ok:Math.random()<0.5,
            msg:'Hello Vue!',
            id:1100
        }
    });

</script>
</html>